import { SUCCESS } from '../constants';
import BaseNode from '../core/BaseNode';
import RandMemGate from './RandMemGate';
// AND ， &&
export default class RandMemGateAnd extends RandMemGate {

  constructor(name: string, children: BaseNode[] = []) {
    super(`rMEM_AND_[${name}]`, children);
  }

  protected defaultStatus(): number {
    return SUCCESS
  }

};
